Indent is a C/C++ program formatter. It reformats the C/C++ program in the input-file according to a long list of command line switches. The original indent (part of the Berkeley Software Distribution) was only for C programs. It has since been modified to understand C++ syntax as well.